Skip to content

Linear offset for dynamic ranging.#411

Open
rokadias wants to merge 1 commit intomainfrom
saqib/dynamic-ranging-slope
Open

Linear offset for dynamic ranging.#411
rokadias wants to merge 1 commit intomainfrom
saqib/dynamic-ranging-slope

Conversation

@rokadias
Copy link
Copy Markdown
Contributor

Why are we doing this?

This should help with further shots where we don't need as much of an offset so that we can tune shooting at closer distances.

Asana task URL:

Whats changing?

Ability to add a slope to the offset. If slope is 0 which is what it's defaulting to now it should still have a constant offset.

Basically y = mx + b where b is what we have before so when m = 0 then it's the same formula.
Confirmed that m = 0 in simulator still works the same, and with m = -0.15.

Questions/notes for reviewers

How this was tested

  • tested on robot
  • tested in simulator
  • unit tests added

@rokadias rokadias requested a review from a team April 10, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants